package org.tulkas.robot.log;

import java.util.Date;

/**
 * @author <a href="mailto:tulkas.web@gmail.com">Tulkas</a>
 *
 */
public class LogRecord {
	public static final int LEVEL_ERROR = 1;
	public static final int LEVEL_WARN = 2;
	public static final int LEVEL_INFO = 3;
	public static final int LEVEL_DEBUG = 4;
	public static final int LEVEL_TRACE = 5;

	private long id;

	private int level;

	private String message;

	private String name;

	private Date time;

	private String threadName;

	private String logType;

	private String exceptionStackTrace;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getThreadName() {
		return threadName;
	}

	public void setThreadName(String threadName) {
		this.threadName = threadName;
	}

	public String getLogType() {
		return logType;
	}

	public void setLogType(String logType) {
		this.logType = logType;
	}

	public String getExceptionStackTrace() {
		return exceptionStackTrace;
	}

	public void setExceptionStackTrace(String exceptionStackTrace) {
		this.exceptionStackTrace = exceptionStackTrace;
	}
}
